<?php
class dt_alumno extends toba_datos_tabla
{
	function get_listado()
	{
		$sql = "SELECT
			t_a.id_alumno,
			t_t.id_tutor as id_tutor_nombre
		FROM
			alumno as t_a,
			tutor as t_t
		WHERE
				t_a.id_tutor = t_t.id_tutor";
		return toba::db('sapes')->consultar($sql);
	}






		function get_descripciones()
		{
			$sql = "SELECT dni_alumno, dni_tutor FROM alumno ORDER BY dni_tutor";
			return toba::db('sapes')->consultar($sql);
		}






}
?>